package renguanyu.app.codebuilder.view.createcode;

import javafx.geometry.Insets;
import javafx.scene.control.ScrollPane;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;

public class CreateCodeCenterView extends ScrollPane {

    CreateCodeView createCodeView;
    AnchorPane paramPane = new AnchorPane();

    public CreateCodeCenterView(CreateCodeView createCodeView){
        this.createCodeView = createCodeView;
        initUI();
    }

    private void initUI() {

        this.setFitToWidth(true);
        this.setContent(paramPane);
        BorderPane.setMargin(this,new Insets(10.0));

    }

    public AnchorPane getParamPane() {
        return paramPane;
    }
}
